﻿using DoNetDrive.Protocol.Door.Door8800.SystemParameter.TCPSetting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DoNetDrive.Protocol.Door.Test.TCPPublisher
{
    /// <summary>
    /// TCP信息订阅者
    /// </summary>
    public class TCPDetailIObserver : TCPDetailIObserverBase
    {
        public event Action<TCPDetail> ValueChanged;
        public override void OnNext(TCPDetail value)
        {
            ValueChanged?.Invoke(value);
        }
    }
}
